package com.hh.core.shiro.entity;

import java.io.Serializable;
import java.util.Set;

/**
 * 
* @ClassName: ShiroUser  
* @Description: TODO(自定义Authentication对象，使得Subject除了携带用户的登录名外还可以携带更多信息)  
* @author hxn
* @date 2018年1月12日 下午3:33:07  
*
 */
public class ShiroUser implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long id;          // 主键ID
	private String account;      // 账号
	private String name;         // 姓名
	private Long groupId;      // 部门id
	private String imagePath;
	private Set<Long> roleList; // 角色集
	private String groupName;        // 部门名称
	private Set<String> roleCode; // 角色编码集
	private String roleName;      // 角色名称
	private Set<String> menuList;  //权限url集合
	public Long getId() { 
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getGroupId() {
		return groupId;
	}
	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}
	public Set<Long> getRoleList() {
		return roleList;
	}
	public void setRoleList(Set<Long> roleList) {
		this.roleList = roleList;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public String getImagePath() {
		return imagePath;
	}
	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}
	public Set<String> getRoleCode() {
		return roleCode;
	}
	public void setRoleCode(Set<String> roleCode) {
		this.roleCode = roleCode;
	}
	public Set<String> getMenuList() {
		return menuList;
	}
	public void setMenuList(Set<String> menuList) {
		this.menuList = menuList;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
}
